package com.example.covid19.service;

import cn.hutool.json.JSONArray;
import com.example.covid19.common.Dto.RegisterDto;
import com.example.covid19.common.lang.Result;
import com.example.covid19.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BaiZhengChun
 * @since 2022-09-12
 */
public interface UserService extends IService<User> {
    Result doLogin(String studentid, String password);
    Result register(RegisterDto registerDto) throws Exception;
     void sendMessage(String phone);
     Result Facelogin(MultipartFile multipartFile) throws Exception;
    Result upsave( JSONArray jsonArray);
}
